/*
 * emergencyMonitor  模块api
 * */
let pieAuth = piecloud ? piecloud : "";

export default {
    fileRootPath: pieAuth + "/sthx_server/system/fileInfo/api/v1/getRootDir/", //根目录获取
    queryRelated: pieAuth + "/tool/satellitesensor/queryRelated", //查找卫星传感器关联信息
    updateEmergencyTask: pieAuth + "/sthx_server/task/disasterTask/update", //保存接口
    disasterTaskIdQuery: pieAuth + "/sthx_server/task/disasterTask/query/", //通过id查询
    // queryAssociateAreaBytaskId: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateAreaByDisasterTaskId/", //+disasterTaksId
    queryAssociateAreaBytaskId: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateArea/", //+disasterTaksId
    regionQueryCityByProvince: pieAuth + "/sthx_server/task/region/queryCityByProvince/", //城市
    regionQueryAreaByCityCode: pieAuth + "/sthx_server/task/region/queryAreaByCityCode/", //获取县
    addAssociateArea: pieAuth + "/sthx_server/task/disasterTaskAssociate/addAssociateArea", //添加关联区域到数据库里
    deleteAssociateArea: pieAuth + "/sthx_server/task/disasterTaskAssociate/deleteAssociateArea/", //删除区域
    // 查询任务关联所有数据（目录树）
    queryAssociateData: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateData",
    // 查询减灾任务（任务列表）
    queryTaskWithId: pieAuth + "/sthx_server/task/disasterTask/query/",
    getTreeDataList: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateData", //获取数据目录树
    updateAssociateData: pieAuth + "/sthx_server/task/disasterTaskAssociate/updateAssociateData", //修改目录树节点状态
    updateAssociateDataBatch: pieAuth + '/sthx_server/task/disasterTaskAssociate/updateAssociateDataBatch', //批量修改
    deleteAssociateDataBatch: pieAuth + '/sthx_server/task/disasterTaskAssociate/deleteAssociateDataBatch', //批量删除

    queryDataWithId: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateDataById/", //查询任务关联数据详情
    queryRiskDataWithId: pieAuth + "/sthx_server/task/riskTaskAssociate/queryAssociateDataById/", //查询任务关联数据详情
    urlApi: pieAuth + "/sthx_server/task/controlImage/section/{dir}",
    deleteData:  pieAuth + "/sthx_server/task/disasterTaskAssociate/deleteAssociateData/",//从数据库删除数据
    //目录树添加数据
    addAssociateDataByLocal: pieAuth + '/sthx_server/task/disasterTaskAssociate/addAssociateDataByLocal/', //从本地添加任务关联数据
    addAssociateDataBySG: pieAuth + '/sthx_server/task/disasterTaskAssociate/addAssociateDataBySG/', //从数管添加任务关联数据
    dataQuery: pieAuth + '/sthx_server/task/disasterDataManageAssociate/dataQuery', //从数管查询数据

    geoJsonToWkt: pieAuth + '/sthx_server/task/region/geoJsonToWkt',
    wktToGeoJson: pieAuth + '/sthx_server/task/region/wktToGeoJsonEx',

    queryFiles:pieAuth+'/sthx_server/task/disasterTaskAssociate/queryFiles',//查询文件夹下的文件
    GetImageInfo:pieAuth+"/v1?request=GetImageInfo",
    //目录树搜索获取卫星名字
    getSatelleData: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateDataSatelliteSensor",
    //目录树查询
    getSearchResult: pieAuth + "/sthx_server/task/disasterTaskAssociate/queryAssociateData",
     //从数管添加流程
    dataManagementWorkflow: pieAuth + "/sthx_server/task/disasterTaskAssociate/addAssociateDataBySGTriggerWorkflow/",
     //从本地添加流程
    localWorkflow: pieAuth + "/sthx_server/task/disasterTaskAssociate/addAssociateDataByLocalTriggerWorkflow/",
    //发布模块获取时间名称
    getEventName: pieAuth + "/sthx_server/task/adapter/queryEvent/",
    //发布事件
    publinshEvnet: pieAuth + "/sthx_server/task/adapter/eventBindImage",
    //获取发布监控表格数据
    getPublishData: pieAuth + "/sthx_server/task/adapter/queryBindRecord",
    //删除发布数据
    deletePublish: pieAuth + "/sthx_server/task/adapter/deleteRecord/",
}